from django.shortcuts import render_to_response

import friendfeed

def lifestream(request,istart=0,inum=30):
	service = friendfeed.FriendFeed()
	feed = service.fetch_user_feed('ruiaf',start=istart,num=inum)
		
	c = {	'items': feed['entries'], }
	return render_to_response('django-friendfeed/django-friendfeed.html', c)

